package com.device.grant.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.device.grant.dao.IDeviceGrantDao;
import com.device.grant.pojo.IDeviceGrant;
import com.device.grant.service.IDeviceGrantService;

@Service("iDeviceGrantService")
public class IDeviceGrantServiceImpl implements IDeviceGrantService {

	@Autowired
	private IDeviceGrantDao	iDeviceGrantDao;

	public boolean insertDeviceGrant(IDeviceGrant deviceGrant) {
		return iDeviceGrantDao.insertDeviceGrant(deviceGrant);
	}

	public IDeviceGrant queryDeviceInAppointment(Map<String, Object> map) {
		return iDeviceGrantDao.queryDeviceInAppointment(map);
	}

}
